package mipo.top.base.Dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class EmailDto {
    @NotBlank(message = "邮件账号不能为空")
    private String email;
    @NotBlank(message = "邮件注册码不能为空")
    private String emailCodeValue;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "二次确认的密码不能为空")
    private String confirmPassword;
}
